using System;
using Server.Network;

namespace Server
{
    public class PlayerDeathCry
	{
		public static void Initialize()
		{
	        EventSink.PlayerDeath += new PlayerDeathEventHandler( OnDeath);
		}
		public static void OnDeath( PlayerDeathEventArgs args )
		{
		    Mobile m = args.Mobile; 

			if (args.Mobile.AccessLevel < AccessLevel.GameMaster) 
			{ 
                World.Broadcast( 0x35, true, "{0}s death cry is heard throughout the land!!", args.Mobile.Name ); 
			}
		}
	}
}